@echo off
setlocal
pushd %~dp0

set JEXTRACT_PATH=C:\jextract-25
set SDL3_PATH=..\..\SDL
rem set CRT_PATH=C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt
rem set MSVC_PATH=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include

call %JEXTRACT_PATH%\bin\jextract.bat ^
--define-macro DLL_EXPORT ^
--define-macro NDEBUG ^
--define-macro _WINDOWS ^
--define-macro _WINDLL ^
--include-dir "%SDL3_PATH%\include" ^
--dump-includes includes.txt ^
SDL3\SDL.h ^

rem luajit mod_includes.lua

pause
